package atage9;

public class check1 {
    public static void main(String[] args){
            double height = 100, newheight = 0;
            for (int i = 1; i < 10; i++) {
                height = height / 2;
                newheight = newheight + height*2;
            }
            System.out.println("一共" + height + "米" + (newheight+100)  + "高");
        }
    }


